package com.mzp.XbShop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mzp.XbShop.pojo.Delivery;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @Description user_delivery 数据访问接口
 * @date 2021-04-19 10:42:24
*/
@Repository
public interface DeliveryDao extends BaseMapper<Delivery> {

    List<Map<String, Object>> DeliveryfindByUserId(String userId);

    boolean setZero(String userid);

    void setOne(String id);

    Integer insert1(Delivery delivery);

    void notdelete(Integer id);
}
